package com.elong.businesstravel.protocol.order;

import org.json.JSONException;
import org.json.JSONObject;

import android.content.Context;

import com.elong.businesstravel.include.Version;
import com.elong.businesstravel.protocol.ProtocolDef;
import com.elong.businesstravel.protocol.baserequest.BaseELongHttpRequest;
/**
 * 订单列表
 * @author lenovo
 *
 */
public class GetMemberOrderRequest extends BaseELongHttpRequest {

	// 'version' => array ('type' => 'float'),
	// 'uid' => array ('type' => 'number'),
	// 'page' => array ('type' => 'number'),
	// 'pagesize' => array ('type' => 'number'),
	// 'deviceid' => array ('type' => 'string','mast' => 'N'),
	// 'token' => array ('type' => 'string','mast' => 'N')
	
	public GetMemberOrderRequest(Context context, String page) {
		super(context);
		
		JSONObject jsonObject = new JSONObject();
		try {
			jsonObject.put("page", page);
			jsonObject.put("pagesize", ProtocolDef.PAGE_SIZE);
//			jsonObject.put("pagesize", 2);
		} catch (JSONException e) {
			e.printStackTrace();
		}
		setRequestActionParam(ProtocolDef.ACTION_Getmemberorder, jsonObject);
	}
	
}
